package com.example;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * SpringBoot 启动类
 */
@SpringBootApplication
@MapperScan("com.example.mapper")
public class Application {
    
    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
        System.out.println("\n========================================");
        System.out.println("应用启动成功！");
        System.out.println("访问地址: http://localhost:8080");
        System.out.println("数据库: MySQL (mp_auto_table)");
        System.out.println("========================================\n");
    }
}
